package org.test.thread;

import java.util.Iterator;

/**
 * Created by Hy on 2018/7/25.
 */
public class Pages implements Iterable<Page> {

    private final int maxPages;
    private final String fileName;

    public Pages(int maxPages, String fileName) {
        this.maxPages = maxPages;
        this.fileName = fileName;
    }

    private class PageIterator implements Iterator<Page>{

        public boolean hasNext() {
            return false;
        }

        public Page next() {
            return null;
        }

        public void remove() {

        }
    }
    public Iterator<Page> iterator() {
        return null;
    }
}
